import Vue from 'vue'
import App from './App.vue'
import '@/styles/index.css' // global css
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'; // 默认主题
import router from './router/index.js';
import myTitle from './components/mytitle/index.js' 
import mySend from './components/send/index.js' 
import myTable from './components/tableList/index.js'
import {formatDate,getDuration} from './util/timeOut.js'
import './theme/style.less'
import 'nprogress/nprogress.css'
Vue.config.productionTip = false
Vue.use(ElementUI, {
  size: 'small'
});
Vue.use(myTitle);
Vue.use(mySend);
Vue.use(myTable);
Vue.filter('formatDate',formatDate)
Vue.filter('getDuration',getDuration)
new Vue({
  render: h => h(App),
  router,
}).$mount('#app')
